(C) 1996 AROS - The Amiga Replacement OS


NAME
#include <proto/dos.h>
LONG SetFileSize()
SYNOPSIS
BPTR file
LONG offset
LONG mode

LOCATION
In DOSBase at offset 76
FUNCTION
Change the size of a file.

INPUTS
file
filehandle
offset
relative size
mode
OFFSET_BEGINNING, OFFSET_CURRENT or OFFSET_END
RESULT
New size of the file or -1 in case of an error. IoErr() gives additional information in that case.

NOTES
EXAMPLE
BUGS
SEE ALSO
INTERNALS
HISTORY
27.01.1997 ldp
Polish
09.12.1996 aros
Added empty templates for all missing functions

Moved #include's into first column

24.10.1996 aros
Use the official AROS macros over the __AROS versions.
11.09.1996 digulla
A couple of new DOS functions from M. Fleischer